How to import an EDN rBook into Roam
TL;DR
Create a local graph
Restore the EDN into that graph
Why I'm using EDN instead of JSON
The left sidebar and pinned right sidebar table of contents is retained
The layout of diagrams using {{diagram}} is retained
A lot of the examples are in the graph
Steps
(This guide was made on July 2021. The user interface may be different if you are reading this far into the future.)
Unzip the rBook EDN
Go to RoamResearch.com and Sign-in/Sign-up
https://gyazo.com/4d00b764b968a1135d0cdb4b81966d90
Create a local graph
https://gyazo.com/57ed9c7472264e2830fcab08a653b5d6
Name the graph (no spaces allowed) and click "Create Local Graph"
https://gyazo.com/174b73fc87e61872f87a0cbd69ec3cff
Go to Settings -> Graph -> Restore this graph
https://gyazo.com/6ccfd7e082ab6e998d8076c2312b059a
Make sure you are restoring the rBook graph into the newly created local graph, not your main graph!
https://gyazo.com/f800e3f51b6c50faf140d05d439f6951
https://gyazo.com/e2c5c4b7ecbfe53109ba212a258f11ec
Click Choose File and select the unzipped EDN file of the rBook. Once you click "I understand the consequences, restore this graph to the backup," this will appear. Click "Start."
https://gyazo.com/ea7071fb5caaf0306cc86a9e41145baf
Once the graph restoration is complete, click Exit.
https://gyazo.com/59a92aeb4ac6bb7ad06eb2b3829d97dd
Open the left sidebar or the right sidebar to see the table of contents of the rBook.
https://gyazo.com/d1b009d5783e1da52dfb333f5f353552